const Mock = require('mockjs')
const data = Mock.mock({
    'list|10':[
        {
           'productId|+1':1,
            productName:'@ctitle',
            "price|1-100": 100,
            categoryName:'@ctitle'
        }
    ]
});
module.exports = [{
    url:'/products/listAll',
    type:'get',
    // eslint-disable-next-line no-unused-vars
    response:_=>{
        return{
            code:200,
            msg:'操作成功',
            data:data.list
        }
    }
}]